<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {

    public function __construct()
    {
        parent::__construct();
    }

    public function index()
    {
        //Set layout data
        $layout_data['pageTitle'] = 'Hoa Khô Tường Vi - Shop Online';
        $layout_data['navTab'] = 'home';
        $layout_data['content'] = $this->load->view('home/index', '', TRUE);

        //render to layout
        $this->load->view('layouts/main', $layout_data);
    }
}

/* End of file Home.php */
/* Location: ./application/controllers/welcome.php */